package com.foreknow.elmboot.service;


import com.foreknow.elmboot.po.Deliveryaddress;

import java.util.List;

public interface DeliveryaddressService {
    //根据用户编号查询所属送货地址
    public List<Deliveryaddress> slistDeliveryAddressByUserId(Deliveryaddress deliveryaddress);

    //根据送货地址编号查询送货地址
    public Deliveryaddress sgetDeliveryAddressById(Deliveryaddress deliveryaddress);

    //向送货地址表中添加一条记录
    public int dsaveDeliveryAddress(Deliveryaddress deliveryaddress);

    //根据送货地址编号更新送货地址信息
    public int dupdateDeliveryAddress(Deliveryaddress deliveryaddress);

    //根据送货地址编号删除一条记录
    public int dremoveDeliveryAddress(Deliveryaddress deliveryaddress);
}
